.page {
    width: 100vw;
    height: 100vh;
    position: relative;
    background-color: #fff;

    .header {
        position: fixed;
        top: 0;
        left: 0;
        background-color: #fff;
        opacity: 0.9;
        width: 100%;
        height: 5vh;
        z-index: 2;

        .itemIcon {
            box-sizing: border-box;
            padding-left: 10px;
            width: 50%;
            height: 100%;
        }
    }

    .scolle {
        width: 100%;
        box-sizing: border-box;
        padding-bottom: 10vh;
        position: absolute;
        top: 5vh;
        display: flex;
        flex-direction: column;
        align-items: center;
        color: #000;

        img {
            width: 100vw;
            //height: 25vh;
            // margin-left: 5vw;
            //图片自适应
            margin-top: 1vh;
            object-fit: cover;
            object-position: 50% 50%;
            // transform: all 0.5s;
        }

        .title {
            margin-top: 3vh;
            font-size: 24px;
            font-weight: bold;
        }

        .time {
            margin-top: 1vh;
            color: #333;
            font-size: 14px;
        }

        .descriptions {
            margin-top: 4vh;
            width: 90vw;
            height: 10vh;
            display: flex;
            justify-content: space-between;

            .discription {
                box-sizing: border-box;
                display: flex;
                flex-direction: column;
                align-items: center;
                justify-content: center;

                .num {
                    font-size: 20px;
                    font-weight: bold;
                }

                .wenzi {
                    font-size: 10px;
                    font-weight: bolder;
                }

                .subtitle {
                    font-size: 10px;
                    color: #333;
                }
            }
        }

        .btn {
            width: 90vw;
            height: 10vh;
            box-sizing: border-box;
            margin-top: 5vh;
           
            .text {
                font-size: 16px;
                color: #000;
                font-weight: 600;
            }

            .anNui {
                border: 2px solid #333;
                font-size: 16px;
                border-radius: 20px;
                width: 100%;
                margin-top: 1vh;
                height: 6vh;
                display: flex;
                justify-content: space-between;
                box-sizing: border-box;
                padding: 0 10px;
                align-items: center;
            }
            // 设置动态样式
            .active{
                border: 2px solid blue;
                font-size: 16px;
                font-weight:bolder;
                border-radius: 20px;
                width: 100%;
                margin-top: 1vh;
                height: 6vh;
                display: flex;
                justify-content: space-between;
                box-sizing: border-box;
                padding: 0 10px;
                align-items: center; 
            }

        }

        .details {
            margin: 3vh 0;
            width: 40vw;
            height: 4vh;
            background-color: #ccc;
            display: flex;
            justify-content: center;
            align-items: center;
            border-radius: 20px;
        }

        .color, .tyre ,.interior{
            width: 90vw;
            height: 25vh;
            display: flex;
            flex-direction: column;
            align-items: center;

            .text {
                font-size: 20px;
                font-weight: bolder;
                width: 90vw;
                height: 8vh;
                display: flex;
                justify-content: center;
                align-items: center;
            }

            .icon {
                display: flex;
                height: 9vh;
                width: 90vw;
                justify-content: center;
                align-items: center;

                img {
                    //height: 35px;
                    width: 12vw;
                    object-fit: cover;
                    object-position: 50% 50%;
                    border-radius: 50%;
                    box-sizing: border-box;
                    padding: 2px;
                }
                //设置动态样式
                .active{
                    border: 2px solid blue;
                }

                img+img {
                    margin-left: 5px;
                }

            }

            .des {
                height: 8vh;
                width: 90vw;
                display: flex;
                flex-direction: column;
                // justify-content: center;
                align-items: center;
                font-size: 14px;

                .name {
                    height: 4vh;
                    width: 80vw;
                    display: flex;
                    justify-content: center;
                    align-items: center;
                }

                .price {
                    height: 4vh;
                    width: 40vw;
                    display: flex;
                    justify-content: center;
                    align-items: center;
                }
            }
        }
    }
}